package com.atqh.logistics.service;

import com.atqh.logistics.domin.Driver;
import com.atqh.logistics.utils.Result;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 *
 */
public interface DriverService extends IService<Driver> {

    Result login(String account, String password, HttpServletRequest req);

    Result logout(HttpServletRequest req);

    Result getOwnInfo(HttpServletRequest request);

    Result getOwnTask(HttpServletRequest req);

    Result UpdateOwnTask(int missionId);

    Result ViewNotice();
}
